package Student;

public class Stu {
    public String name;
    public int age;
    private double score;

    public void info(){
        System.out.println("name="+name+age+"岁"+"得分"+getScore());
    }
    public void setScore(double x){
        this.score=x;
    }
    public double getScore(){
        return this.score;
    }
}
